package test1;

import java.io.PrintWriter;
import java.net.Socket;

public class MyClient {
    public static void main(String[] args) {
        MyClient mc=new MyClient();
    }
  public MyClient(){}
    {   try{
        Socket s=new Socket("127.0.0.1",9999);
        PrintWriter pw=new PrintWriter(s.getOutputStream(),true);
        pw.println("hello");
    }catch(Exception e){
        e.printStackTrace();
    }
    }

}
